import http from "@/utils/http";

const AendFilling = {
    /**
     * 确认A端境内填报方案
     * @param {}} condition 
     * @returns 
     */
	async confirmDomPropose(params) {
		let res = await http({
			url: `${process.env.VUE_APP_CTX_ORDER_ACCEPT}/confirmDomPropose`,
			data: params,
			method: "post",
		});
		return res;
	},
	 /**
     * 确认A端境内填报方案-出口局
     * @param {}} condition 
     * @returns 
     */
	async executeSql(params) {
		let res = await http({
			url: `${process.env.VUE_APP_CTX_ORDER_QUERY}/executeSql`,
			data: params,
			method: "post",
		});
		return res;
	},
	 /**
     * 查看-项目信息-保存接口
     * @param {}} condition 
     * @returns 
     */
	  async saveCommonOrder(params) {
	
		let res = await http({
			url: `${process.env.VUE_APP_CTX_ORDER_PROCESS}/saveCommonOrder`,
			data: params,
			method: "post",
		});
		return res;
	},
	 /**
     * 查询合同审批情况
     * @param {}} condition 
     * @returns 
     */
	  async qryContactApproval(params) {
	
		let res = await http({
			url: `${process.env.VUE_APP_CTX_ORDER_QUERY}/qryContactApproval`,
			data: params,
			method: "post",
		});
		return res;
	},
	 /**
     * 查看-项目信息-客户经理列表初始化
     * @param {}} condition 
     * @returns 
     */
	
	async qryStaffList(params) {
		let res = await http({
			url: `${process.env.VUE_APP_CTX_ORDER_QUERY}/qryStaffList`,
			data: params,
			method: "get",
		});
		return res;
	},
	 /**
    * 查看-项目信息-项目编码列表查询
    * @param {*} params
    * @returns
    */
	  async qryProjectList(params) {
        let res = await http({
            url: `${process.env.VUE_APP_CTX_ORDER_QUERY}/qryProjectList`,
            data: params,
            method: 'POST'
        });
        return res;
    },
	
};
export default AendFilling;